package com.shop.page.service.impl;

import com.shop.common.pojo.Product;
import com.shop.page.mapper.ProductMapper;
import com.shop.page.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ghy
 * @version 1.0
 * @date 2020-11-03
 */
@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    ProductMapper productMapper;

    @Override
    public List<Product> findAllWithPdesc() {
        return productMapper.findAllWithPdesc();
    }
}
